// carrots.cpp -- food processing program
#include <iostream>

int main(int argc, char* argv[])
{
    using namespace std;

    int carrots;                    // 声明一个整型变量

    carrots = 25;                   // 给变量赋值
    cout << "I have ";
    cout << carrots;                // 显示变量的值
    cout << " carrots.";
    cout << endl;
    carrots = carrots  - 1;         // 修改变量的值
    cout << "Crunch, crunch. Now I Have " << carrots << " carrots." << endl;
    return 0;
}

